Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rp2040/raspberrypi-pico-w: update submodule to avoid invaild firmware #8439

Merged
merged 6 commits into from
Feb 6, 2023

Conversation

anchao
Copy link
Contributor

@anchao anchao commented Feb 6, 2023

Summary

  1. rp2040/raspberrypi-pico-w: update submodule to avoid invaild firmware

The cyw43-driver is a submodule in the pick-sdk, if the submodule is
not updated, the dummy firmware driver will be used, update the document
to correct the setup flow.

${PICO_SDK_PATH}/lib/cyw43-driver/firmware/43439A0-7.95.49.00.combined

Signed-off-by: chao an [email protected]

  1. arm/rp2040: fix compile warning on boot2 build
ld: warning: boards/arm/rp2040/raspberrypi-pico-w/scripts/raspberrypi-pico-flash.ld contains output sections; did you forget -T?

Signed-off-by: chao an [email protected]

  1. raspberrypi-pico-w/telnet: enable more configs

Signed-off-by: chao an [email protected]

  1. wireless/bcm43xxx/qspi: try tx after rx fails

1> Try tx after rx fails to avoid gspi_thread busy to try rx
2> Add some delay if alloc frame buffer failed

Signed-off-by: chao an [email protected]

  1. bcm43xxx/bcmf_ioctl.h: pack wl_* structure to avoid unaligned access

Signed-off-by: chao an [email protected]

  1. arm/rp2040: check tx holding register before send

Signed-off-by: chao an [email protected]

  1. arm/backtrace: fix compile warning
common/arm_backtrace_unwind.c: In function 'up_backtrace':
common/arm_backtrace_unwind.c:626:27:
warning: assignment to 'long unsigned int' from 'uint8_t (*)[]'\
{aka 'unsigned char (*)[]'} makes integer from pointer without a cast [-Wint-conversion]

  626 |           frame.stack_top = &g_intstacktop;
      |

Impact

N/A

Testing

raspberrypi-pico-w:telnet

common/arm_backtrace_unwind.c: In function 'up_backtrace':
common/arm_backtrace_unwind.c:626:27:
warning: assignment to 'long unsigned int' from 'uint8_t (*)[]'\
{aka 'unsigned char (*)[]'} makes integer from pointer without a cast [-Wint-conversion]

  626 |           frame.stack_top = &g_intstacktop;
      |
1. Try tx after rx fails to avoid gspi_thread busy to try rx
2. Add some delay if alloc frame buffer failed

Signed-off-by: chao an <[email protected]>
ld: warning: boards/arm/rp2040/raspberrypi-pico-w/scripts/raspberrypi-pico-flash.ld contains output sections; did you forget -T?
Signed-off-by: chao an <[email protected]>
The cyw43-driver is a submodule in the pick-sdk, if the submodule is
not updated, the dummy firmware driver will be used, update the document
to correct the setup flow.

${PICO_SDK_PATH}/lib/cyw43-driver/firmware/43439A0-7.95.49.00.combined

Signed-off-by: chao an <[email protected]>
@xiaoxiang781216 xiaoxiang781216 merged commit caa1674 into apache:master Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RaspberryPi-Pico-W is not getting WiFi
3 participants